package com.hongdee.rbac.oil.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Liu XiaoLong
 * Date: 2018/1/22.
 * Remark:
 */
@Entity
@Table(name = "T_BC_OIL")
public class TBcOilEntity extends BaseEntity {

    @Column(name = "oil_name", columnDefinition = " VARCHAR(64) COMMENT '机油名称' ")
    private String oilName; // 机油名称
    @Column(name = "oil_brand", columnDefinition = " VARCHAR(64) COMMENT '机油品牌' ")
    private String oilBrand; // 机油品牌
    @Column(name = "oil_type", columnDefinition = " VARCHAR(64) COMMENT '机油类别' ")
    private String oilType; // 机油类别
    @Column(name = "maintenance_mile", columnDefinition = " VARCHAR(64) COMMENT '保养里程' ")
    private String maintenanceMile; // 保养里程
    @Column(name = "level", columnDefinition = " VARCHAR(64) COMMENT '级别' ")
    private String level; // 级别
    @Column(name = "p_id", columnDefinition = " VARCHAR(64) COMMENT '父Id' ")
    private String pId; // 父Id
    @Column(name = "company_id",columnDefinition = " VARCHAR(64) COMMENT '公司id' ")
    private String conpanyId; // 公司id

    public String getConpanyId() {
        return conpanyId;
    }

    public void setConpanyId(String conpanyId) {
        this.conpanyId = conpanyId;
    }

    public String getOilName() {
        return oilName;
    }

    public void setOilName(String oilName) {
        this.oilName = oilName;
    }

    public String getOilBrand() {
        return oilBrand;
    }

    public void setOilBrand(String oilBrand) {
        this.oilBrand = oilBrand;
    }

    public String getOilType() {
        return oilType;
    }

    public void setOilType(String oilType) {
        this.oilType = oilType;
    }

    public String getMaintenanceMile() {
        return maintenanceMile;
    }

    public void setMaintenanceMile(String maintenanceMile) {
        this.maintenanceMile = maintenanceMile;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }
}
